import { SHOWCONTENT,HIDECONTENT } from './type.js'  

const state = {  
    showcontent:true 
}  
  
const mutations = {  
    [SHOWCONTENT](state){  
        state.showcontent = true;  
    },  
    [HIDECONTENT](state){  
        state.showcontent = false;  
    }  
}  
  
const getters = {  
    showcontent(state){  
        return state.showcontent 
    }  
}  
  
export default {  
    state,mutations,getters  
}  